package net.microfigure.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 慢性病政策表
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-14
 */
@TableName("zc_policy")
public class ZcPolicy extends Model<ZcPolicy> {

    private static final long serialVersionUID = 1L;

    /**
     * 慢性政策编码
     */
    @TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 年度
     */
	private Integer runyear;
    /**
     * 封顶线
     */
	@TableField("max_line")
	private BigDecimal maxLine;
    /**
     * 报销比例
     */
	@TableField("run_rate")
	private BigDecimal runRate;


	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getRunyear() {
		return runyear;
	}

	public void setRunyear(Integer runyear) {
		this.runyear = runyear;
	}

	public BigDecimal getMaxLine() {
		return maxLine;
	}

	public void setMaxLine(BigDecimal maxLine) {
		this.maxLine = maxLine;
	}

	public BigDecimal getRunRate() {
		return runRate;
	}

	public void setRunRate(BigDecimal runRate) {
		this.runRate = runRate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
